import hyRequest from ".."

/**
 * 获取歌曲详情
 *
 * @param ids 歌曲id
 */
export function getSongDetail(ids: number) {
  return hyRequest.get({
    url: "/api/song/detail",
    params: {
      ids
    }
  })
}

/**
 * 获取歌词
 *
 * @param id 歌曲id
 */
export function getSongLyric(id: number) {
  return hyRequest.get({
    url: "/api/lyric",
    params: {
      id
    }
  })
}
